import { fetch } from './common/fetch'
import { createApp } from 'vue'

function getFileFormat(url) {
  // 获取 . 在 url 中出现的位置
  var pos = url.lastIndexOf('.');
  return url.substr(pos);
}

const Album = {
  data() {
    return {
      msg: 'Hello Album'
    }
  }
}

console.log(getFileFormat('index.html'))

fetch()

createApp(Album).mount('#album')